package com.ruoyi.tester.executor.expression;

import com.ruoyi.tester.executor.ExpressionContext;
import org.springframework.stereotype.Component;

/**
 * @author SongJun
 * @description TODO:
 * @date 2022/4/27 15:48
 */
@Component
public class ExpInnate implements ExpressionAnalysis {
    @Override
    public String getExpressionName() {
        return "innate";
    }

    @Override
    public String getDescription() {
        return "innate() 返回调用依赖接口返回的信息(数组类型);";
    }

    @Override
    public Object analysis(ExpressionContext context, String... param) {
        return context.getInnate();
    }
}
